/*
 * @Author: 段本显
 * @Desc: 文件简介
 * @Date: 2021-08-06 14:29:07
 * @LastEditors: 段本显
 * @LastEditTime: 2021-08-06 15:14:11
 * @Email: duanbenxian@jianq.com
 * @Mark: 如果有bug，那肯定不是我的锅，噜噜噜
 */
import { Commit } from 'vuex'
import { State } from '@store'
import * as types from './types'

export default {
  [types.UPDATE_DIRECTION]({ commit }: { commit: Commit }, payload: State) {
    commit(types.UPDATE_DIRECTION, payload)
  }
}
